

uniform samplerCube envMap;

void main ()
{

	vec3 c = textureCube(envMap, gl_TexCoord[0].stp).rgb;
	c = pow(c, 0.5);

	gl_FragColor = vec4(c,1.0);
}
